package net.cyan.thunwind.connection;

import net.cyan.commons.util.ObjectFactory;

/**
 * 
 * @author camel
 * @date 2009-2-26
 */
public class DefaultConnectionFactoryFactory implements ObjectFactory<DefaultConnectionFactory>
{
    private String name;

    public DefaultConnectionFactory create() throws Exception
    {
        return new DefaultConnectionFactory(name);
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }
}
